/**
 * @fileOverview 入口文件
 * @date         2015/10/12
 * @author       chenlu
 */
(function() {
	require.config({
		baseUrl: APP_PATH,
		paths: {
			'config': 'data/config',
			'route': 'data/route',
			'app': 'data/app',
			'jquery': 'libs/jquery-1.11.3.min',
			'angular': 'libs/angular.min',
			'angular-route': 'libs/angular-route.min'
		},
		shim: {
		   'angular': {
			  exports: 'angular'
		   },
		   'angular-route':{
			  deps: ["angular"],
			  exports: 'angular-route'
		   }
		}
	});

	require(['jquery', 'angular', 'angular-route', 'route'], function($, angular) {
		$(function() {
			angular.bootstrap(document, ['admin']);
		});
	});
})();